package com.song.shenghua.match;

import com.song.shenghua.common.utils.uuid.IdWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 宋LS
 * @version 1.0
 * @date 2021/3/5 14:29
 */

@SpringBootApplication
@MapperScan("com.song.shenghua.match.mapper")
@ComponentScan("com.song.shenghua")
public class MatchApplication {

    public static void main(String[] args) {
        SpringApplication.run(MatchApplication.class);
    }
    @Bean
    public IdWorker idWorker(){
        return new IdWorker(1l,1l);
    }
}
